package fr.p10.miage.FactSing.main;
import fr.p10.miage.FactSing.Factory.Factory;
import fr.p10.miage.FactSing.Product.Product;

class Client {
	public Client (){
		super();
	 }
	
	public void foo (){
		
		Factory f = Factory.getInstance();
		Product myProdA = f.creerProduct("ProductA");
		Product myProdB = f.creerProduct("ProductB");		
		Product myProdC = f.creerProduct("ProductC");
		
		myProdA.faireActions();
		myProdB.faireActions();
		myProdC.faireActions();
	 }

}